<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
</head>

<body>
<h3 class="db"></h3>
<script>
    //ajax
    fetch("http://localhost/db")
        .then(res => res.text())
        .then(d => {
            document.querySelector('.db').innerHTML = d
        })
        .catch(e=>console.log(e))
</script>

</body>
</html>
